<%@ import Namespace="DotNetNuke.Common.Utilities" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="Informations.ascx.cs" Inherits="gdlmo.DNN.Modules.Informations.Informations" %>
<asp:repeater id="rptInfos" runat="server">
	<ItemTemplate>
		<table cellpadding="0" border="0" width="100%">
			<tr>
				<td align="left" valign="top" class="Subhead" width="60%">
					<asp:HyperLink NavigateUrl='<%# EditUrl("InfoId",DataBinder.Eval(Container, "DataItem.InfoId").ToString()) %>' Visible='<%# MyIsEditable(DataBinder.Eval(Container.DataItem, "CreatedByUser").ToString()) %>' runat="server" ID="Hyperlink1">
						<asp:Image ID=Hyperlink1Image Runat=server ImageUrl="~/images/edit.gif" AlternateText="Edit" Visible="<%#IsEditable%>" resourcekey="Edit"/>
					</asp:HyperLink>
					<asp:HyperLink runat="server" Text='<%# HtmlUtils.Shorten(DataBinder.Eval(Container.DataItem, "Title").ToString(),GetMaxChars(),"...").ToString() %>' NavigateUrl='<%# EditUrl("InfoId",DataBinder.Eval(Container.DataItem, "InfoId").ToString(),"InformationsShow") %>' Target="_blank" ID="Hyperlink2" >
					</asp:HyperLink>
				</td>
				<td align="left" valign="top" class="Normal" width="30%">
					<%# DataBinder.Eval(Container, "DataItem.DeptName").ToString() %>
				</td>
				<td align="left" valign="top" class="Normal" width="10%">
					<%# DataBinder.Eval(Container, "DataItem.CreateDate","{0:yyyy-M-d}") %>
				</td>
			</tr>
		</table>
	</ItemTemplate>
	<HeaderTemplate>
		<table cellpadding="0" border="0" width="100%">
			<tr>
				<td align="left" valign="top" class="Subhead" width="60%">标题</td>
				<td align="left" valign="top" class="Normal" width="30%">发布部门</td>
				<td align="left" valign="top" class="Normal" width="10%">创建日期</td>
			</tr>
		</table>
	</HeaderTemplate>
</asp:repeater>
<TABLE id="tbPage" width="100%" runat="server">
	<TR>
		<TD align="right" height="25"><asp:linkbutton id="cmdFirst" runat="server" resourcekey="cmdFirst" CssClass="CommandButton" ToolTip="hello2"
				CommandArgument="First">First</asp:linkbutton>&nbsp;
			<asp:linkbutton id="cmdPrev" runat="server" resourcekey="cmdPrev" CssClass="CommandButton" CommandArgument="Prev">Prev</asp:linkbutton>&nbsp;
			<asp:dropdownlist id="cboPages" runat="server" CssClass="CommandButton" AutoPostBack="True"></asp:dropdownlist>&nbsp;
			<asp:linkbutton id="cmdNext" runat="server" resourcekey="cmdNext" CssClass="CommandButton" CommandArgument="Next">Next</asp:linkbutton>&nbsp;
			<asp:linkbutton id="cmdLast" runat="server" resourcekey="cmdLast" CssClass="CommandButton" CommandArgument="Last">Last</asp:linkbutton>&nbsp;
		</TD>
	</TR>
</TABLE>
